package com.djx.goods.mapper;

import com.djx.common.domain.Goods;
import com.djx.common.domain.request.GoodsRequest;
import com.djx.common.domain.response.GoodsResPonse;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface GoodsMapper {
    List<GoodsResPonse> getList(GoodsRequest goodsRequest);

    Goods findGoods(Integer id);

    void updateGoods(Goods goods);
}
